﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleModeler.Graphics;

namespace SimpleModeler.GUI.ModelerEventArgs
{
    /// <summary>
    /// Repräsentiert ein Command zur Manipulation eines SceneObjects
    /// </summary>
    public abstract class SceneObjectEventArgs : ModelerManipulationEventArgs
    {
        /// <summary>
        /// Das zu manipulierende SceneObject
        /// </summary>
        public SceneObject SceneObject { get; set; }

        /// <summary>
        /// Konstruktor
        /// </summary>
        /// <param name="sender">Sender des Events</param>
        /// <param name="sceneObject">Das zu manipulierende SceneObject</param>
        public SceneObjectEventArgs(object sender, SceneObject sceneObject) : base(sender) { this.SceneObject = sceneObject; }
    }
}
